package {{.ModuleName}}

import "dims/utils"

// Model {{.Table_Name}}  {{.TableComment}}
type {{.ClassName}} struct {
    {{- range .Fields}}
    {{.FieldName}} {{.JavaType}} `json:"{{.JavaField}}" gorm:"{{.ColumnName}}" form:"{{.JavaField}}"`//{{.ColumnComment}}{{ end }}
}


func ({{.ClassName}}) TableName() string {
  return "{{.Table_Name}}"
}

type {{.ClassName}}PageReq struct {
    Pager
    TimeParams
    {{- range .Fields}}
    {{.FieldName}} {{.JavaType}} `json:"{{.JavaField}}" gorm:"{{.ColumnName}}" form:"{{.JavaField}}"`//{{.ColumnComment}}{{ end }}
}
